package edu.xmut.builder.improve;

/**
 * @author 朔风
 * @date 2024-02-19 15:28
 */
public class Client {
    public static void main(String[] args) {
        HouseDirector houseDirector = new HouseDirector();
        houseDirector.setHouseBuilder(new CommonHouse());
        House house = houseDirector.constructHouse();

        houseDirector.setHouseBuilder(new HighBuilding());
        House house1 = houseDirector.constructHouse();


    }
}
